//
//  NetWorkingCart.h
//  MobileShoppingMall
//
//  Created by 冯传昌 on 2021/4/28.
//  Copyright © 2021 冯传昌. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NetWorkingCart : NSObject

//加入购物车
+(void)addToCart:(NSInteger)productId skuId:(NSInteger)skuId withSuccessBlock:(void(^)(id responseObj))successBlock;

//数量减少
+(void)cartGoosLess:(NSInteger)productId skuId:(NSInteger)skuId withSuccessBlock:(void(^)(id responseObj))successBlock;

//数量增加
+(void)cartGoosAdd:(NSInteger)productId skuId:(NSInteger)skuId withSuccessBlock:(void(^)(id responseObj))successBlock;


//商品购物车列表
+(void)getCartListWithSuccessBlock:(void(^)(id responseObj))successBlock;

//购物车  删除
+(void)deleteCartListWithIds:(NSArray *)ids withSuccessBlock:(void(^)(id responseObj))successBlock;




@end

NS_ASSUME_NONNULL_END
